import request from '@/utils/request'

export const reqGetCategory1List = () => {
  return request({
    method: 'GET',
    url: `/admin/product/getCategory1`
  })
}

export const reqGetCategory2List = category1Id => {
  return request({
    method: 'GET',
    url: `/admin/product/getCategory2/${category1Id}`
  })
}

export const reqGetCategory3List = category2Id => {
  return request({
    method: 'GET',
    url: `/admin/product/getCategory3/${category2Id}`
  })
}
